<ion-view view-title="设置" class="t-set">
	<ion-nav-bar ng-class="baseclass">
		<ion-nav-back-button></ion-nav-back-button>
	</ion-nav-bar>
	
	<ion-content>
		<div class="list list-inset">
			<!--买家菜单-->
			<div ng-if="issue_type==1">
				<div class="item  item-icon-right" ng-click="onshow_setting('t-password')">
					修改密码<i class="icon ion-chevron-right icon-accessory"></i>
				</div><div class="item  item-icon-right" ng-click="onshow_setting('pay-password')">
					设置支付密码<i class="icon ion-chevron-right icon-accessory"></i>
				</div>
				<div class="item  item-icon-right" ng-click="onshow_setting('linkemail')">
					邮箱绑定<i class="icon ion-chevron-right icon-accessory"></i>
				</div>
				<div class="item  item-icon-right" ng-click="onshow_setting('linkwx')">
					微信绑定<i class="icon ion-chevron-right icon-accessory"></i>
				</div>
				<div class="item  item-icon-right" ng-click="onshow_setting('linkqq')">
					QQ绑定<i class="icon ion-chevron-right icon-accessory"></i>
				</div>
				<div class="item  item-icon-right" ng-click="onshow_setting('banklist')">
					银行帐号管理<i class="icon ion-chevron-right icon-accessory"></i>
				</div>
				<!--<div class="item  item-icon-right" ng-click="onshow_setting('t-address-add-fp-buyer')">
					增票税率<i class="icon ion-chevron-right icon-accessory"></i>
				</div>-->
				<div class="item  item-icon-right" ng-click="onshow_setting('t-address-add-fp')">
					增票资质<i class="icon ion-chevron-right icon-accessory"></i>
				</div>
				<div class="item  item-icon-right" ng-click="onshow_setting('t-address')">
					收货地址管理<i class="icon ion-chevron-right icon-accessory"></i>
				</div>
				<!--<div class="item  item-icon-right" ng-click="onshow_setting('customqq')">
					客服和联系电话<i class="icon ion-chevron-right icon-accessory"></i>
				</div>-->
			</div>
			
			
			<!--卖家菜单-->
			<div ng-if="issue_type==2">
				<div class="item  item-icon-right" data-authname="银行卡管理" rights-ctrl ng-click="onshow_setting('banklist')">
					收款账号<i class="icon ion-chevron-right icon-accessory"></i>
				</div>
				<div class="item item-icon-right" ng-click="onshow_setting('t-address-add-fp-buyer')">
					增票税率<i class="icon ion-chevron-right icon-accessory"></i>
				</div>
				<div class="item  item-icon-right" data-authname="地址管理" rights-ctrl ng-click="onshow_setting('t_address_seller')" ng-show="check!=5">
					发货地址<i class="icon ion-chevron-right icon-accessory"></i>
				</div>
				<div class="item  item-icon-right" ng-click="onshow_setting('logistics')" ng-show="check!=5" data-authname="地址管理" rights-ctrl>
					物流公司<i class="icon ion-chevron-right icon-accessory"></i>
				</div>
				<div class="item  item-icon-right" ng-click="onshow_setting('logistics-modal')" ng-show="check!=5" data-authname="地址管理" rights-ctrl>
					运费模板<i class="icon ion-chevron-right icon-accessory"></i>
				</div>
			</div>
			
			<!--<div class="item item-icon-left item-icon-right" ng-click="onshow_setting('share')">
				<i class="icon iconfont icon-icontrasho"></i>一键分享<i class="icon ion-chevron-right icon-accessory"></i>
			</div>-->
			<!--<div class="item item-icon-left item-icon-right" ng-click="onshow_setting('filesystem')" >
				<i class="icon iconfont icon-fileso"></i>文件列表<i class="icon ion-chevron-right icon-accessory"></i>
			</div>-->
		</div>
		
		<div class="list list-inset">
			<div class="item item-icon-right" ng-click="check_update()" >
				检查更新<i class="icon ion-chevron-right icon-accessory"></i>
			</div>
			<div class="item item-icon-right" ng-click="clear_storage()" >
				清除缓存<i class="icon ion-chevron-right icon-accessory"></i>
			</div>
			<div class="item  item-icon-right" ng-click="onshow_setting('t-about')" ng-if="issue_type==1">
				关于我们<i class="icon ion-chevron-right icon-accessory"></i>
			</div>
			<div class="item  item-icon-right" ng-click="onshow_setting('t-service-center')" ng-if="issue_type==1">
				客服中心<i class="icon ion-chevron-right icon-accessory"></i>
			</div>
			<div class="item  item-icon-right" ng-click="opencustemOK()">
				联系客服<i class="icon ion-chevron-right icon-accessory"></i>
			</div>
		</div>

		<div class="padding">
			<button class="button button-block" ng-class="issue_type==1?'cutomerBtnBg':'shopBtnBg'" ng-click="onshow_exit()">退出账号</button>
		</div>
	</ion-content>
</ion-view>